package com.ruoyi.womp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 衡器要素列表对象 womp_weighing_apparatus_element
 * 
 * @author mzz
 * @date 2022-04-11
 */
public class WompWeighingApparatusElement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 所属衡器 */
    @Excel(name = "所属衡器")
    private String waCode;

    /** 要素名称 */
    @Excel(name = "要素名称")
    private String elementCode;

    /** 传感器序号 */
    @Excel(name = "传感器序号")
    private Integer orderNum;

    /** 所属部门 */
    private String sysOrgCode;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setWaCode(String waCode) 
    {
        this.waCode = waCode;
    }

    public String getWaCode() 
    {
        return waCode;
    }
    public void setElementCode(String elementCode) 
    {
        this.elementCode = elementCode;
    }

    public String getElementCode() 
    {
        return elementCode;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setSysOrgCode(String sysOrgCode) 
    {
        this.sysOrgCode = sysOrgCode;
    }

    public String getSysOrgCode() 
    {
        return sysOrgCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("waCode", getWaCode())
            .append("elementCode", getElementCode())
            .append("orderNum", getOrderNum())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("sysOrgCode", getSysOrgCode())
            .toString();
    }
}
